﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseInfo.aspx.cs" 
Inherits="HZ.DrugTrade.Web.Enterprise.SystemManage.EnterpriseInfo" 
    MasterPageFile="~/Enterprise/Master/AdminMaster.Master" Title="企业信息管理" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../../lib/scripts/My97DatePicker/WdatePicker.js"></script>
    <div>
    <div class="maincon">
    <div class="note">企业信息维护<asp:Label ID="lblCkState" runat="server" Font-Bold="True"></asp:Label>
        </div>
    <div class="note2"></div>
        <table >
            <tr>
                <th align="right" style="width:110px">
                    企业名称：
                </th>
                <td align="left">
                    <asp:Label ID="lblcompanyname" runat="server"></asp:Label>
                </td>
                <th align="right" style="width:120px">
                    企业类别：
                </th>
                <td align="left">
                    <asp:Label ID="lblSort" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th align="right">
                    企业联系人：                 </th>
                <td align="left">
                    <asp:TextBox ID="lblContactPerson" runat="server"  Enabled="false"></asp:TextBox><font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="lblContactPerson"
                            ErrorMessage="企业联系人不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    联系人手机：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtCellNo" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtCellNo"
                            ErrorMessage="联系人手机不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="联系人手机填写有误"
                            ControlToValidate="txtCellNo" ValidationExpression="[0]{0,1}\d{11}"  SetFocusOnError="true" Display="None" ValidationGroup="1"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    企业被授权人：                 </th>
                <td align="left">
                    <asp:TextBox ID="txtAuthor" runat="server"  Enabled="false"></asp:TextBox><font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="txtAuthor"
                            ErrorMessage="企业被授权人不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    被授权人手机：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtAuhtorCell" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="txtAuhtorCell"
                            ErrorMessage="被授权人手机不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="被授权人手机填写有误"
                            ControlToValidate="txtAuhtorCell" ValidationExpression="[0]{0,1}\d{11}"  SetFocusOnError="true" Display="None" ValidationGroup="1"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    法人代表：</th>
                <td align="left">
                    <asp:TextBox ID="txtLayMan" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtLayMan"
                            ErrorMessage="法人代表不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    联系地址：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtAddress" runat="server" Width="231px"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtAddress"  ErrorMessage="公司地址不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    营业执照号：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtPermission" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtPermission"
                            ErrorMessage="营业执照号不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    营业执照有效期至：
                </th>
                <td align="left">
                <div id="isshow" runat="server">
                    <asp:TextBox ID="txtPermissionDate" runat="server" 
                        onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"   Enabled="false"></asp:TextBox>
                        
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtPermissionDate"
                            ErrorMessage="营业执照有效期不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1" >（必填）</asp:RequiredFieldValidator> 
                </div>  
                            <asp:CheckBox ID="chkBusinessDate" runat="server"   Text="长期"  Enabled="false"
                            AutoPostBack="True" oncheckedchanged="chkBusinessDate_CheckedChanged" /> <font color=red>营业执照有效期至如果是长期,请点击长期选项</font>
                </td>
            </tr><tr>
                <th align="right">
                    营业执照年检日期：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtPermissionCheckDate" runat="server" 
                        onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtPermissionCheckDate"
                            ErrorMessage="营业执照年检日期不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1" >（必填）</asp:RequiredFieldValidator>
                </td>
                  <th align="right">
                    医疗器械许可证号：
                </th>
                <td align="left">
                     <asp:TextBox ID="txtInstruments" runat="server" Width="231px"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="txtInstruments"  ErrorMessage="医疗器械许可证号不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    注册地址：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtRegistAddress" runat="server" Width="260px"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtRegistAddress"
                            ErrorMessage="注册地址不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1" >（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                     注册资金(万元)：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtRegistFund" runat="server"  Enabled="false"
                        Width="180px" Style="ime-mode: disabled;"
                        oncontextmenu="javascript:return false;" onblur="javascript:return check_isdecimal();"
                        onkeydown="javascript:return check_isdecimal();"></asp:TextBox><font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtRegistFund"
                            ErrorMessage="注册资金不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1" >（必填）</asp:RequiredFieldValidator>
                    &nbsp;</td>
            </tr>
            <tr>
                <th align="right">
                    <%--<%=strType%>--%>（生产或经营）许可证号：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtBusinessCertificate" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtBusinessCertificate"
                            ErrorMessage="经营许可证号不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    <%--<%=strType%>--%>（生产或经营）许可证有效期至：
                </th>
                <td align="left">
                <div id="isshows" runat="server">
                    <asp:TextBox ID="txtBusinessCertificateDate" runat="server"   Enabled="false"
                        onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  ></asp:TextBox>
                        <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtBusinessCertificateDate"
                            ErrorMessage="许可证有效期不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                            </div>
                             <asp:CheckBox ID="ckBusinessCertificateDate" runat="server"   Text="长期"   Enabled="false"
                            AutoPostBack="True" 
                        oncheckedchanged="ckBusinessCertificateDate_CheckedChanged"  /> <font color=red>许可证有效期至如果是长期,请点击长期选项</font>
                </td>
            </tr>
            <tr>
                <th align="right">
                     企业联系电话：                 </th>
                <td align="left">
                    <asp:TextBox ID="txtComTel" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txtComTel"
                            ErrorMessage="企业联系电话不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    邮政编码：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtPostCode" runat="server" Width="63px"  Enabled="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th align="right">
                     企业组织机构代码证号：                 </th>
                <td align="left">
                    <asp:TextBox ID="txtComcode" runat="server"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtComcode"
                            ErrorMessage="企业组织机构代码证号不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
                <th align="right">
                    代码证有效期至：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtComEndTime" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  Enabled="false"
                        runat="server" Width="63px" ></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="txtComEndTime"
                            ErrorMessage="代码证有效期至不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                     是否有经营不良行为：                 </th>
                <td align="left">
                    <asp:RadioButtonList ID="rbtnDevious" runat="server"   Enabled="false"
                        RepeatDirection="Horizontal" Width="86px">
                        <asp:ListItem>是</asp:ListItem>
                        <asp:ListItem Selected="True">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <th align="right">
                    企业仓库地址：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtStorHouseAddress"  runat="server" Width="263px"  Enabled="false"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtPermissionCheckDate"
                            ErrorMessage="企业仓库地址不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                     有无生产假产品记录：                 </th>
                <td align="left" colspan="3">
                    <asp:RadioButtonList ID="rbtnAdulterant" runat="server"   Enabled="false"
                        RepeatDirection="Horizontal" Width="86px">
                        <asp:ListItem>有</asp:ListItem>
                        <asp:ListItem Selected="True">无</asp:ListItem>
                    </asp:RadioButtonList>
                </td> 
            </tr>
            <tr>
                <th align="right">传真：
                </th>
                <td align="left">
                    <asp:TextBox ID="txtFax" runat="server"  Enabled="false"></asp:TextBox>(如：0471-4930516)
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                        ControlToValidate="txtFax" ErrorMessage="传真填写有误" 
                        ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}" Display="Dynamic" 
                        ToolTip=""></asp:RegularExpressionValidator>

                </td>
                <th align="right">
                        电子邮件：
                    </th>
                    <td align="left">
                        <asp:TextBox ID="txtEmail" runat="server"  Enabled="false"></asp:TextBox>
                <asp:RegularExpressionValidator ID="revDianZiYouJian" runat="server" ErrorMessage="电子邮件格式不正确！"
                    ControlToValidate="txtEmail" SetFocusOnError="true" Display="None" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    ValidationGroup="1"></asp:RegularExpressionValidator>
                (如：aa@bb.com)
                </td>
            </tr>
            <tr>
                <th align="right">
                    <%--<%=strType%>--%>（生产或经营）范围：
                </th>
                <td align="left" colspan="3">
                    <asp:TextBox ID="txtBusinessRange" runat="server" Height="104px" TextMode="MultiLine"  Enabled="false"
                        Width="501px"></asp:TextBox>
                    <font color="red">（*）</font>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="txtBusinessRange"
                            ErrorMessage="（生产或经营）范围不能为空！"  SetFocusOnError="true" Display="None" ValidationGroup="1">（必填）</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th align="right">
                    备注：
                </th>
                <td align="left" colspan="3">
                    <asp:TextBox ID="txtRemarks" runat="server" Height="104px" TextMode="MultiLine" Width="501px"  Enabled="false"></asp:TextBox>
                </td>
            </tr>
        </table>
        </div>
        <div class="listip">
            <ul>
                <li>提示：<span>将企业的信息填写完以后请点击保存设置</span></li>
            </ul>
        </div>
        <div class="listctrlq">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List"
                ShowMessageBox="True" ShowSummary="False" ValidationGroup="1" />
            <hz:HzButton ID="btnSave" runat="server" CssClass="btn" OnClick="btnAdd_Click" Text="保存设置" 
                ToolTip="保存设置的信息" OperateType="编辑"  ValidationGroup="1" />
            </div>
    </div>
</asp:Content>

